%table.table.table-striped.esr_records.collection
  %thead
    %tr
      %th= t_attr :value_date, EsrRecord
      %th= t_attr :customer, EsrRecord
      %th= t_attr :state, EsrRecord
      %th.currency= t_attr :amount, EsrRecord
      %th.currency= t_attr :payment_amount, EsrRecord
      %th.currency= t_attr :saldo, EsrRecord
      %th.action-links
  %tbody
    = render @esr_records || esr_records
